package com.example.foobar.dao.service;

import com.example.foobar.entity.DaConfig;
import com.example.foobar.param.DaConfigPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 分析系统配置文件 服务类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
public interface DaConfigDaoService extends BaseService<DaConfig> {

    /**
     * 保存
     *
     * @param daConfig
     * @return
     * @throws Exception
     */
    boolean saveDaConfig(DaConfig daConfig) throws Exception;

    /**
     * 修改
     *
     * @param daConfig
     * @return
     * @throws Exception
     */
    boolean updateDaConfig(DaConfig daConfig) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteDaConfig(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param daConfigQueryParam
     * @return
     * @throws Exception
     */
    Paging<DaConfig> getDaConfigPageList(DaConfigPageParam daConfigPageParam) throws Exception;

}
